package com.ouc.openplatform.zykt.orderManage.service.impl;

import com.ouc.openplatform.pojo.EUDataGridResult;
import com.ouc.openplatform.zykt.orderManage.service.CS_ClientOrderService;
import com.ouc.openplatform.zykt.orderManage.service.CS_OrderService;

public class CS_ClientOrderServiceImpl implements CS_ClientOrderService {

	private CS_OrderService orderService;

	public CS_OrderService getOrderService() {
		return orderService;
	}

	public void setOrderService(CS_OrderService orderService) {
		this.orderService = orderService;
	}

	// 1.根据用户编码、订单号查询所有订单-----sxl
	@Override
	public EUDataGridResult findAllOrder(String userNo,String orderNo, int page, int rows) {
		return orderService.findAllOrder(userNo,orderNo, page, rows);
	}

	// 2.根据用户编码、订单号和订单状态查询所有订单-----sxl
	@Override
	public EUDataGridResult findAllEndOrder(String userNo,String orderNo, Integer orderState, int page, int rows) {
		return orderService.findAllEndOrder(userNo,orderNo, orderState, page, rows);
	}

}
